package com.easylinkin.linkappapi.lobar.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.lobar.dto.EpidemicWarningDTO;
import com.easylinkin.linkappapi.lobar.entity.EpidemicWarning;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 疫情监测预警表 Mapper 接口
 * </p>
 *
 * @author Xiaoyang
 * @since 2022-08-16
 */
public interface EpidemicWarningMapper extends BaseMapper<EpidemicWarning> {

  IPage<EpidemicWarningDTO> queryList(Page page, @Param("epidemicWarningDTO") EpidemicWarningDTO epidemicWarningDTO);

  List<EpidemicWarningDTO> queryList(
      @Param("epidemicWarningDTO") EpidemicWarningDTO epidemicWarningDTO);
}
